// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _stdafx_h_
#define _stdafx_h_

//#define PROFILE_MEMORY

// C RunTime Header Files
#ifdef PROFILE_MEMORY
#define _CRTDBG_MAP_ALLOC
#endif

#include <stdlib.h>

#ifdef PROFILE_MEMORY
#include <crtdbg.h>
#endif

#include <malloc.h>
#include <vector>
#include <algorithm>
#include <map>
#include <memory.h>
#include <tchar.h>
#include <string>
#include <d3dx9.h>
#include <d3d9.h>
#include <d3dx9mesh.h>
#include <dsound.h>

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>


// TODO: reference additional headers your program requires here

#include "d3d/d3dUtility.h"


#ifdef PROFILE_MEMORY
#include <string>
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
#define new DEBUG_NEW
#endif

void Error(char* message);

#endif
